<?php
declare (strict_types=1);

namespace app\common\facade;

use think\Facade;

/**
 * @see \app\common\tool\WeChat\WeChat
 * @package think\facade
 * @mixin \app\common\tool\WeChat\WeChat
 * @method static getOauthRedirect($redirect_url, $state = '', $scope = 'snsapi_base') 微信公众号授权跳转接口
 * @method static getOauthAccessToken($code) 获取openid,静默授权(需getOauthRedirect方法scope需为 snsapi_base)
 * @method static getUserInfo($access_token, $openid, $lang = 'zh_CN') 拉取用户信息(需getOauthRedirect方法scope需为 snsapi_userinfo)
 */
class WeChat extends Facade
{

    protected static function getFacadeClass()
    {
        return '\app\common\tool\WeChat\WeChat';
    }


}